package com.site.model.dining;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



/**
 * 菜品信息
 * @author jack
 */
@Entity
@Table(name="t_dishes")
public class DishesInfo implements Serializable {
	
	private static final long serialVersionUID = 7972781711023078790L;
	
	private Long id;
	/*
	 * 菜品编号
	 */
	private String dno;
	/*
	 * 价格
	 */
	private Double price;
	/*
	 * 图片
	 */
	private String imagePath;
	/*
	 * 菜品标题
	 */
	private String title;
	/*
	 * 菜品介绍
	 */
	private String dishesIntroduction;
	/*
	 * 餐厅菜单id
	 */
	private Long rmid;
	/*
	 * 创建时间
	 */
	private Date createdDate;
	
	@Id
	@GeneratedValue
	@Column(name="ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="D_NO")
	public String getDno() {
		return dno;
	}
	public void setDno(String dno) {
		this.dno = dno;
	}
	@Column(name="PRICE")
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	@Column(name="IMAGE_PATH")
	public String getImagePath() {
		return imagePath;
	}
	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}
	@Column(name="DISHES_INTRODUCTION")
	public String getDishesIntroduction() {
		return dishesIntroduction;
	}
	public void setDishesIntroduction(String dishesIntroduction) {
		this.dishesIntroduction = dishesIntroduction;
	}
	@Column(name="RM_ID")
	public Long getRmid() {
		return rmid;
	}
	public void setRmid(Long rmid) {
		this.rmid = rmid;
	}
	@Column(name="CREATED_DATE")
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	@Column(name="TITLE")
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
}
